package com.neusoft.acquistion.sensor.consumer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

import java.io.Serializable;


/**
 * <p>
 * 病例信息表
 * </p>
 *
 * @author 段静迪
 * @since 2024-04-26 14:10:56
 */
@Tag(name = "Patient对象", description = "病例信息表")

@Schema(description = "Monitor对象" )
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description =  "病历流水号")
    @TableId(value = "medicalcode", type = IdType.AUTO)
    private Long medicalcode;

    @Schema( description =  "病历病人身份证号码")
    private String personId;

    public Long getMedicalcode() {
        return medicalcode;
    }

    public void setMedicalcode(Long medicalcode) {
        this.medicalcode = medicalcode;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    @Override
    public String toString() {
        return "Patient{" +
            "medicalcode = " + medicalcode +
            ", personId = " + personId +
        "}";
    }
}
